# -*- coding: utf-8 -*-
# Copyright (c) 2022 Robert Bosch GmbH and Microsoft Corporation
#
# This program and the accompanying materials are made available under the
# terms of the Apache License, Version 2.0 which is available at
# https://www.apache.org/licenses/LICENSE-2.0.
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
#
# SPDX-License-Identifier: Apache-2.0

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: sdv/databroker/v1/types.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import enum_type_wrapper
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dsdv/databroker/v1/types.proto\x12\x11sdv.databroker.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\x1d\n\x0bStringArray\x12\x0e\n\x06values\x18\x01 \x03(\t\"\x1b\n\tBoolArray\x12\x0e\n\x06values\x18\x01 \x03(\x08\"\x1c\n\nInt32Array\x12\x0e\n\x06values\x18\x01 \x03(\x11\"\x1c\n\nInt64Array\x12\x0e\n\x06values\x18\x01 \x03(\x12\"\x1d\n\x0bUint32Array\x12\x0e\n\x06values\x18\x01 \x03(\r\"\x1d\n\x0bUint64Array\x12\x0e\n\x06values\x18\x01 \x03(\x04\"\x1c\n\nFloatArray\x12\x0e\n\x06values\x18\x01 \x03(\x02\"\x1d\n\x0b\x44oubleArray\x12\x0e\n\x06values\x18\x01 \x03(\x01\"\xe2\x06\n\tDatapoint\x12-\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12=\n\rfailure_value\x18\n \x01(\x0e\x32$.sdv.databroker.v1.Datapoint.FailureH\x00\x12\x16\n\x0cstring_value\x18\x0b \x01(\tH\x00\x12\x14\n\nbool_value\x18\x0c \x01(\x08H\x00\x12\x15\n\x0bint32_value\x18\r \x01(\x11H\x00\x12\x15\n\x0bint64_value\x18\x0e \x01(\x12H\x00\x12\x16\n\x0cuint32_value\x18\x0f \x01(\rH\x00\x12\x16\n\x0cuint64_value\x18\x10 \x01(\x04H\x00\x12\x15\n\x0b\x66loat_value\x18\x11 \x01(\x02H\x00\x12\x16\n\x0c\x64ouble_value\x18\x12 \x01(\x01H\x00\x12\x36\n\x0cstring_array\x18\x15 \x01(\x0b\x32\x1e.sdv.databroker.v1.StringArrayH\x00\x12\x32\n\nbool_array\x18\x16 \x01(\x0b\x32\x1c.sdv.databroker.v1.BoolArrayH\x00\x12\x34\n\x0bint32_array\x18\x17 \x01(\x0b\x32\x1d.sdv.databroker.v1.Int32ArrayH\x00\x12\x34\n\x0bint64_array\x18\x18 \x01(\x0b\x32\x1d.sdv.databroker.v1.Int64ArrayH\x00\x12\x36\n\x0cuint32_array\x18\x19 \x01(\x0b\x32\x1e.sdv.databroker.v1.Uint32ArrayH\x00\x12\x36\n\x0cuint64_array\x18\x1a \x01(\x0b\x32\x1e.sdv.databroker.v1.Uint64ArrayH\x00\x12\x34\n\x0b\x66loat_array\x18\x1b \x01(\x0b\x32\x1d.sdv.databroker.v1.FloatArrayH\x00\x12\x36\n\x0c\x64ouble_array\x18\x1c \x01(\x0b\x32\x1e.sdv.databroker.v1.DoubleArrayH\x00\"m\n\x07\x46\x61ilure\x12\x11\n\rINVALID_VALUE\x10\x00\x12\x11\n\rNOT_AVAILABLE\x10\x01\x12\x15\n\x11UNKNOWN_DATAPOINT\x10\x02\x12\x11\n\rACCESS_DENIED\x10\x03\x12\x12\n\x0eINTERNAL_ERROR\x10\x04\x42\x07\n\x05value\"\x9d\x01\n\x08Metadata\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x0c\n\x04name\x18\x04 \x01(\t\x12.\n\tdata_type\x18\x05 \x01(\x0e\x32\x1b.sdv.databroker.v1.DataType\x12\x32\n\x0b\x63hange_type\x18\x06 \x01(\x0e\x32\x1d.sdv.databroker.v1.ChangeType\x12\x13\n\x0b\x64\x65scription\x18\x07 \x01(\t*\x84\x03\n\x08\x44\x61taType\x12\n\n\x06STRING\x10\x00\x12\x08\n\x04\x42OOL\x10\x01\x12\x08\n\x04INT8\x10\x02\x12\t\n\x05INT16\x10\x03\x12\t\n\x05INT32\x10\x04\x12\t\n\x05INT64\x10\x05\x12\t\n\x05UINT8\x10\x06\x12\n\n\x06UINT16\x10\x07\x12\n\n\x06UINT32\x10\x08\x12\n\n\x06UINT64\x10\t\x12\t\n\x05\x46LOAT\x10\n\x12\n\n\x06\x44OUBLE\x10\x0b\x12\r\n\tTIMESTAMP\x10\x0c\x12\x10\n\x0cSTRING_ARRAY\x10\x14\x12\x0e\n\nBOOL_ARRAY\x10\x15\x12\x0e\n\nINT8_ARRAY\x10\x16\x12\x0f\n\x0bINT16_ARRAY\x10\x17\x12\x0f\n\x0bINT32_ARRAY\x10\x18\x12\x0f\n\x0bINT64_ARRAY\x10\x19\x12\x0f\n\x0bUINT8_ARRAY\x10\x1a\x12\x10\n\x0cUINT16_ARRAY\x10\x1b\x12\x10\n\x0cUINT32_ARRAY\x10\x1c\x12\x10\n\x0cUINT64_ARRAY\x10\x1d\x12\x0f\n\x0b\x46LOAT_ARRAY\x10\x1e\x12\x10\n\x0c\x44OUBLE_ARRAY\x10\x1f\x12\x13\n\x0fTIMESTAMP_ARRAY\x10 *s\n\x0e\x44\x61tapointError\x12\x15\n\x11UNKNOWN_DATAPOINT\x10\x00\x12\x10\n\x0cINVALID_TYPE\x10\x01\x12\x11\n\rACCESS_DENIED\x10\x02\x12\x12\n\x0eINTERNAL_ERROR\x10\x03\x12\x11\n\rOUT_OF_BOUNDS\x10\x04*7\n\nChangeType\x12\n\n\x06STATIC\x10\x00\x12\r\n\tON_CHANGE\x10\x01\x12\x0e\n\nCONTINUOUS\x10\x02\x62\x06proto3')

_DATATYPE = DESCRIPTOR.enum_types_by_name['DataType']
DataType = enum_type_wrapper.EnumTypeWrapper(_DATATYPE)
_DATAPOINTERROR = DESCRIPTOR.enum_types_by_name['DatapointError']
DatapointError = enum_type_wrapper.EnumTypeWrapper(_DATAPOINTERROR)
_CHANGETYPE = DESCRIPTOR.enum_types_by_name['ChangeType']
ChangeType = enum_type_wrapper.EnumTypeWrapper(_CHANGETYPE)
STRING = 0
BOOL = 1
INT8 = 2
INT16 = 3
INT32 = 4
INT64 = 5
UINT8 = 6
UINT16 = 7
UINT32 = 8
UINT64 = 9
FLOAT = 10
DOUBLE = 11
TIMESTAMP = 12
STRING_ARRAY = 20
BOOL_ARRAY = 21
INT8_ARRAY = 22
INT16_ARRAY = 23
INT32_ARRAY = 24
INT64_ARRAY = 25
UINT8_ARRAY = 26
UINT16_ARRAY = 27
UINT32_ARRAY = 28
UINT64_ARRAY = 29
FLOAT_ARRAY = 30
DOUBLE_ARRAY = 31
TIMESTAMP_ARRAY = 32
UNKNOWN_DATAPOINT = 0
INVALID_TYPE = 1
ACCESS_DENIED = 2
INTERNAL_ERROR = 3
OUT_OF_BOUNDS = 4
STATIC = 0
ON_CHANGE = 1
CONTINUOUS = 2


_STRINGARRAY = DESCRIPTOR.message_types_by_name['StringArray']
_BOOLARRAY = DESCRIPTOR.message_types_by_name['BoolArray']
_INT32ARRAY = DESCRIPTOR.message_types_by_name['Int32Array']
_INT64ARRAY = DESCRIPTOR.message_types_by_name['Int64Array']
_UINT32ARRAY = DESCRIPTOR.message_types_by_name['Uint32Array']
_UINT64ARRAY = DESCRIPTOR.message_types_by_name['Uint64Array']
_FLOATARRAY = DESCRIPTOR.message_types_by_name['FloatArray']
_DOUBLEARRAY = DESCRIPTOR.message_types_by_name['DoubleArray']
_DATAPOINT = DESCRIPTOR.message_types_by_name['Datapoint']
_METADATA = DESCRIPTOR.message_types_by_name['Metadata']
_DATAPOINT_FAILURE = _DATAPOINT.enum_types_by_name['Failure']
StringArray = _reflection.GeneratedProtocolMessageType('StringArray', (_message.Message,), {
  'DESCRIPTOR' : _STRINGARRAY,
  '__module__' : 'sdv.databroker.v1.types_pb2'
  # @@protoc_insertion_point(class_scope:sdv.databroker.v1.StringArray)
  })
_sym_db.RegisterMessage(StringArray)

BoolArray = _reflection.GeneratedProtocolMessageType('BoolArray', (_message.Message,), {
  'DESCRIPTOR' : _BOOLARRAY,
  '__module__' : 'sdv.databroker.v1.types_pb2'
  # @@protoc_insertion_point(class_scope:sdv.databroker.v1.BoolArray)
  })
_sym_db.RegisterMessage(BoolArray)

Int32Array = _reflection.GeneratedProtocolMessageType('Int32Array', (_message.Message,), {
  'DESCRIPTOR' : _INT32ARRAY,
  '__module__' : 'sdv.databroker.v1.types_pb2'
  # @@protoc_insertion_point(class_scope:sdv.databroker.v1.Int32Array)
  })
_sym_db.RegisterMessage(Int32Array)

Int64Array = _reflection.GeneratedProtocolMessageType('Int64Array', (_message.Message,), {
  'DESCRIPTOR' : _INT64ARRAY,
  '__module__' : 'sdv.databroker.v1.types_pb2'
  # @@protoc_insertion_point(class_scope:sdv.databroker.v1.Int64Array)
  })
_sym_db.RegisterMessage(Int64Array)

Uint32Array = _reflection.GeneratedProtocolMessageType('Uint32Array', (_message.Message,), {
  'DESCRIPTOR' : _UINT32ARRAY,
  '__module__' : 'sdv.databroker.v1.types_pb2'
  # @@protoc_insertion_point(class_scope:sdv.databroker.v1.Uint32Array)
  })
_sym_db.RegisterMessage(Uint32Array)

Uint64Array = _reflection.GeneratedProtocolMessageType('Uint64Array', (_message.Message,), {
  'DESCRIPTOR' : _UINT64ARRAY,
  '__module__' : 'sdv.databroker.v1.types_pb2'
  # @@protoc_insertion_point(class_scope:sdv.databroker.v1.Uint64Array)
  })
_sym_db.RegisterMessage(Uint64Array)

FloatArray = _reflection.GeneratedProtocolMessageType('FloatArray', (_message.Message,), {
  'DESCRIPTOR' : _FLOATARRAY,
  '__module__' : 'sdv.databroker.v1.types_pb2'
  # @@protoc_insertion_point(class_scope:sdv.databroker.v1.FloatArray)
  })
_sym_db.RegisterMessage(FloatArray)

DoubleArray = _reflection.GeneratedProtocolMessageType('DoubleArray', (_message.Message,), {
  'DESCRIPTOR' : _DOUBLEARRAY,
  '__module__' : 'sdv.databroker.v1.types_pb2'
  # @@protoc_insertion_point(class_scope:sdv.databroker.v1.DoubleArray)
  })
_sym_db.RegisterMessage(DoubleArray)

Datapoint = _reflection.GeneratedProtocolMessageType('Datapoint', (_message.Message,), {
  'DESCRIPTOR' : _DATAPOINT,
  '__module__' : 'sdv.databroker.v1.types_pb2'
  # @@protoc_insertion_point(class_scope:sdv.databroker.v1.Datapoint)
  })
_sym_db.RegisterMessage(Datapoint)

Metadata = _reflection.GeneratedProtocolMessageType('Metadata', (_message.Message,), {
  'DESCRIPTOR' : _METADATA,
  '__module__' : 'sdv.databroker.v1.types_pb2'
  # @@protoc_insertion_point(class_scope:sdv.databroker.v1.Metadata)
  })
_sym_db.RegisterMessage(Metadata)

if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  _DATATYPE._serialized_start=1358
  _DATATYPE._serialized_end=1746
  _DATAPOINTERROR._serialized_start=1748
  _DATAPOINTERROR._serialized_end=1863
  _CHANGETYPE._serialized_start=1865
  _CHANGETYPE._serialized_end=1920
  _STRINGARRAY._serialized_start=85
  _STRINGARRAY._serialized_end=114
  _BOOLARRAY._serialized_start=116
  _BOOLARRAY._serialized_end=143
  _INT32ARRAY._serialized_start=145
  _INT32ARRAY._serialized_end=173
  _INT64ARRAY._serialized_start=175
  _INT64ARRAY._serialized_end=203
  _UINT32ARRAY._serialized_start=205
  _UINT32ARRAY._serialized_end=234
  _UINT64ARRAY._serialized_start=236
  _UINT64ARRAY._serialized_end=265
  _FLOATARRAY._serialized_start=267
  _FLOATARRAY._serialized_end=295
  _DOUBLEARRAY._serialized_start=297
  _DOUBLEARRAY._serialized_end=326
  _DATAPOINT._serialized_start=329
  _DATAPOINT._serialized_end=1195
  _DATAPOINT_FAILURE._serialized_start=1077
  _DATAPOINT_FAILURE._serialized_end=1186
  _METADATA._serialized_start=1198
  _METADATA._serialized_end=1355
# @@protoc_insertion_point(module_scope)
